﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace Viet_Calculator
{
	/// <summary>
	/// Summary description for PhanTach7HangDangThucDangNho.
	/// </summary>
	public class PhanTach7HangDangThucDangNho : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox5;
		private System.Windows.Forms.Button btnPhanTach4;
		private System.Windows.Forms.TextBox txtOKetQua4;
		private System.Windows.Forms.Label label31;
		private System.Windows.Forms.Label label32;
		private System.Windows.Forms.Label label33;
		private System.Windows.Forms.Label label34;
		private System.Windows.Forms.TextBox txtB4;
		private System.Windows.Forms.TextBox txtOChuSoB4;
		private System.Windows.Forms.TextBox txtA4;
		private System.Windows.Forms.TextBox txtOChuSoA4;
		private System.Windows.Forms.GroupBox groupBox6;
		private System.Windows.Forms.Label label39;
		private System.Windows.Forms.Label label38;
		private System.Windows.Forms.Button btnPhanTach5;
		private System.Windows.Forms.TextBox txtOKetQua5;
		private System.Windows.Forms.Label label35;
		private System.Windows.Forms.Label label37;
		private System.Windows.Forms.TextBox txtB5;
		private System.Windows.Forms.TextBox txtOChuSoB5;
		private System.Windows.Forms.TextBox txtA5;
		private System.Windows.Forms.TextBox txtOChuSoA5;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.Label label20;
		private System.Windows.Forms.Label label21;
		private System.Windows.Forms.Label label22;
		private System.Windows.Forms.TextBox textBox9;
		private System.Windows.Forms.TextBox textBox10;
		private System.Windows.Forms.TextBox textBox11;
		private System.Windows.Forms.TextBox textBox12;
		private System.Windows.Forms.Label label19;
		private System.Windows.Forms.Label label18;
		private System.Windows.Forms.Label label15;
		private System.Windows.Forms.Label label16;
		private System.Windows.Forms.Label label17;
		private System.Windows.Forms.TextBox textBox5;
		private System.Windows.Forms.TextBox textBox6;
		private System.Windows.Forms.TextBox textBox7;
		private System.Windows.Forms.TextBox textBox8;
		private System.Windows.Forms.Label label14;
		private System.Windows.Forms.Label label13;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.Label label12;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.GroupBox groupBox7;
		private System.Windows.Forms.Label label36;
		private System.Windows.Forms.Label label40;
		private System.Windows.Forms.Button btnPhanTach6;
		private System.Windows.Forms.TextBox txtOKetQua6;
		private System.Windows.Forms.Label label41;
		private System.Windows.Forms.Label label42;
		private System.Windows.Forms.TextBox txtB6;
		private System.Windows.Forms.TextBox txtOChuSoB6;
		private System.Windows.Forms.TextBox txtA6;
		private System.Windows.Forms.TextBox txtOChuSoA6;
		private System.Windows.Forms.GroupBox groupBox9;
		private System.Windows.Forms.Label label47;
		private System.Windows.Forms.Label label48;
		private System.Windows.Forms.Button btnPhanTach7;
		private System.Windows.Forms.TextBox txtOKetQua7;
		private System.Windows.Forms.Label label49;
		private System.Windows.Forms.Label label50;
		private System.Windows.Forms.TextBox txtB7;
		private System.Windows.Forms.TextBox txtOChuSoB7;
		private System.Windows.Forms.TextBox txtA7;
		private System.Windows.Forms.TextBox txtOChuSoA7;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Button btnPhanTach;
		private System.Windows.Forms.TextBox txtOKetQua1;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox txtB1;
		private System.Windows.Forms.TextBox txtOChuSoB1;
		private System.Windows.Forms.TextBox txtA1;
		private System.Windows.Forms.TextBox txtOChuSoA1;
		private System.Windows.Forms.GroupBox groupBox4;
		private System.Windows.Forms.Button btnPhanTach3;
		private System.Windows.Forms.TextBox txtOKetQua3;
		private System.Windows.Forms.Label label27;
		private System.Windows.Forms.Label label28;
		private System.Windows.Forms.Label label29;
		private System.Windows.Forms.Label label30;
		private System.Windows.Forms.TextBox txtB3;
		private System.Windows.Forms.TextBox txtOChuSoB3;
		private System.Windows.Forms.TextBox txtA3;
		private System.Windows.Forms.TextBox txtOChuSoA3;
		private System.Windows.Forms.GroupBox groupBox8;
		private System.Windows.Forms.Label label43;
		private System.Windows.Forms.Label label44;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.TextBox textBox18;
		private System.Windows.Forms.Label label45;
		private System.Windows.Forms.Label label46;
		private System.Windows.Forms.TextBox textBox19;
		private System.Windows.Forms.TextBox textBox20;
		private System.Windows.Forms.TextBox textBox21;
		private System.Windows.Forms.TextBox textBox22;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.Button btnPhanTach2;
		private System.Windows.Forms.TextBox txtOKetQua2;
		private System.Windows.Forms.Label label23;
		private System.Windows.Forms.Label label24;
		private System.Windows.Forms.Label label25;
		private System.Windows.Forms.Label label26;
		private System.Windows.Forms.TextBox txtB2;
		private System.Windows.Forms.TextBox txtOChuSoB2;
		private System.Windows.Forms.TextBox txtA2;
		private System.Windows.Forms.TextBox txtOChuSoA2;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public PhanTach7HangDangThucDangNho()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PhanTach7HangDangThucDangNho));
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.btnPhanTach4 = new System.Windows.Forms.Button();
			this.txtOKetQua4 = new System.Windows.Forms.TextBox();
			this.label31 = new System.Windows.Forms.Label();
			this.label32 = new System.Windows.Forms.Label();
			this.label33 = new System.Windows.Forms.Label();
			this.label34 = new System.Windows.Forms.Label();
			this.txtB4 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB4 = new System.Windows.Forms.TextBox();
			this.txtA4 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA4 = new System.Windows.Forms.TextBox();
			this.groupBox6 = new System.Windows.Forms.GroupBox();
			this.label39 = new System.Windows.Forms.Label();
			this.label38 = new System.Windows.Forms.Label();
			this.btnPhanTach5 = new System.Windows.Forms.Button();
			this.txtOKetQua5 = new System.Windows.Forms.TextBox();
			this.label35 = new System.Windows.Forms.Label();
			this.label37 = new System.Windows.Forms.Label();
			this.txtB5 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB5 = new System.Windows.Forms.TextBox();
			this.txtA5 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA5 = new System.Windows.Forms.TextBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.label20 = new System.Windows.Forms.Label();
			this.label21 = new System.Windows.Forms.Label();
			this.label22 = new System.Windows.Forms.Label();
			this.textBox9 = new System.Windows.Forms.TextBox();
			this.textBox10 = new System.Windows.Forms.TextBox();
			this.textBox11 = new System.Windows.Forms.TextBox();
			this.textBox12 = new System.Windows.Forms.TextBox();
			this.label19 = new System.Windows.Forms.Label();
			this.label18 = new System.Windows.Forms.Label();
			this.label15 = new System.Windows.Forms.Label();
			this.label16 = new System.Windows.Forms.Label();
			this.label17 = new System.Windows.Forms.Label();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.textBox7 = new System.Windows.Forms.TextBox();
			this.textBox8 = new System.Windows.Forms.TextBox();
			this.label14 = new System.Windows.Forms.Label();
			this.label13 = new System.Windows.Forms.Label();
			this.label11 = new System.Windows.Forms.Label();
			this.label12 = new System.Windows.Forms.Label();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.label9 = new System.Windows.Forms.Label();
			this.label10 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label8 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.groupBox7 = new System.Windows.Forms.GroupBox();
			this.label36 = new System.Windows.Forms.Label();
			this.label40 = new System.Windows.Forms.Label();
			this.btnPhanTach6 = new System.Windows.Forms.Button();
			this.txtOKetQua6 = new System.Windows.Forms.TextBox();
			this.label41 = new System.Windows.Forms.Label();
			this.label42 = new System.Windows.Forms.Label();
			this.txtB6 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB6 = new System.Windows.Forms.TextBox();
			this.txtA6 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA6 = new System.Windows.Forms.TextBox();
			this.groupBox9 = new System.Windows.Forms.GroupBox();
			this.label47 = new System.Windows.Forms.Label();
			this.label48 = new System.Windows.Forms.Label();
			this.btnPhanTach7 = new System.Windows.Forms.Button();
			this.txtOKetQua7 = new System.Windows.Forms.TextBox();
			this.label49 = new System.Windows.Forms.Label();
			this.label50 = new System.Windows.Forms.Label();
			this.txtB7 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB7 = new System.Windows.Forms.TextBox();
			this.txtA7 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA7 = new System.Windows.Forms.TextBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.btnPhanTach = new System.Windows.Forms.Button();
			this.txtOKetQua1 = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.txtB1 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB1 = new System.Windows.Forms.TextBox();
			this.txtA1 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA1 = new System.Windows.Forms.TextBox();
			this.groupBox4 = new System.Windows.Forms.GroupBox();
			this.btnPhanTach3 = new System.Windows.Forms.Button();
			this.txtOKetQua3 = new System.Windows.Forms.TextBox();
			this.label27 = new System.Windows.Forms.Label();
			this.label28 = new System.Windows.Forms.Label();
			this.label29 = new System.Windows.Forms.Label();
			this.label30 = new System.Windows.Forms.Label();
			this.txtB3 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB3 = new System.Windows.Forms.TextBox();
			this.txtA3 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA3 = new System.Windows.Forms.TextBox();
			this.groupBox8 = new System.Windows.Forms.GroupBox();
			this.label43 = new System.Windows.Forms.Label();
			this.label44 = new System.Windows.Forms.Label();
			this.button2 = new System.Windows.Forms.Button();
			this.textBox18 = new System.Windows.Forms.TextBox();
			this.label45 = new System.Windows.Forms.Label();
			this.label46 = new System.Windows.Forms.Label();
			this.textBox19 = new System.Windows.Forms.TextBox();
			this.textBox20 = new System.Windows.Forms.TextBox();
			this.textBox21 = new System.Windows.Forms.TextBox();
			this.textBox22 = new System.Windows.Forms.TextBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.btnPhanTach2 = new System.Windows.Forms.Button();
			this.txtOKetQua2 = new System.Windows.Forms.TextBox();
			this.label23 = new System.Windows.Forms.Label();
			this.label24 = new System.Windows.Forms.Label();
			this.label25 = new System.Windows.Forms.Label();
			this.label26 = new System.Windows.Forms.Label();
			this.txtB2 = new System.Windows.Forms.TextBox();
			this.txtOChuSoB2 = new System.Windows.Forms.TextBox();
			this.txtA2 = new System.Windows.Forms.TextBox();
			this.txtOChuSoA2 = new System.Windows.Forms.TextBox();
			this.groupBox5.SuspendLayout();
			this.groupBox6.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.groupBox7.SuspendLayout();
			this.groupBox9.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox4.SuspendLayout();
			this.groupBox8.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox5
			// 
			this.groupBox5.Controls.Add(this.btnPhanTach4);
			this.groupBox5.Controls.Add(this.txtOKetQua4);
			this.groupBox5.Controls.Add(this.label31);
			this.groupBox5.Controls.Add(this.label32);
			this.groupBox5.Controls.Add(this.label33);
			this.groupBox5.Controls.Add(this.label34);
			this.groupBox5.Controls.Add(this.txtB4);
			this.groupBox5.Controls.Add(this.txtOChuSoB4);
			this.groupBox5.Controls.Add(this.txtA4);
			this.groupBox5.Controls.Add(this.txtOChuSoA4);
			this.groupBox5.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox5.Location = new System.Drawing.Point(8, 720);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(768, 72);
			this.groupBox5.TabIndex = 12;
			this.groupBox5.TabStop = false;
			this.groupBox5.Text = "(a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3";
			// 
			// btnPhanTach4
			// 
			this.btnPhanTach4.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach4.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach4.Name = "btnPhanTach4";
			this.btnPhanTach4.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach4.TabIndex = 38;
			this.btnPhanTach4.Text = "Phân tách";
			this.btnPhanTach4.Click += new EventHandler(btnPhanTach4_Click);
			// 
			// txtOKetQua4
			// 
			this.txtOKetQua4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua4.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua4.Name = "txtOKetQua4";
			this.txtOKetQua4.ReadOnly = true;
			this.txtOKetQua4.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua4.TabIndex = 37;
			this.txtOKetQua4.Text = "";
			// 
			// label31
			// 
			this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label31.Location = new System.Drawing.Point(320, 32);
			this.label31.Name = "label31";
			this.label31.Size = new System.Drawing.Size(32, 24);
			this.label31.TabIndex = 36;
			this.label31.Text = "=";
			// 
			// label32
			// 
			this.label32.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label32.Location = new System.Drawing.Point(144, 32);
			this.label32.Name = "label32";
			this.label32.Size = new System.Drawing.Size(24, 24);
			this.label32.TabIndex = 35;
			this.label32.Text = "-";
			// 
			// label33
			// 
			this.label33.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label33.Location = new System.Drawing.Point(280, 32);
			this.label33.Name = "label33";
			this.label33.Size = new System.Drawing.Size(40, 24);
			this.label33.TabIndex = 34;
			this.label33.Text = " )^3";
			// 
			// label34
			// 
			this.label34.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label34.Location = new System.Drawing.Point(8, 32);
			this.label34.Name = "label34";
			this.label34.Size = new System.Drawing.Size(16, 24);
			this.label34.TabIndex = 33;
			this.label34.Text = " (";
			// 
			// txtB4
			// 
			this.txtB4.BackColor = System.Drawing.Color.Aqua;
			this.txtB4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB4.Location = new System.Drawing.Point(224, 32);
			this.txtB4.Name = "txtB4";
			this.txtB4.Size = new System.Drawing.Size(56, 22);
			this.txtB4.TabIndex = 32;
			this.txtB4.Text = "";
			this.txtB4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB4
			// 
			this.txtOChuSoB4.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB4.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB4.Name = "txtOChuSoB4";
			this.txtOChuSoB4.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB4.TabIndex = 31;
			this.txtOChuSoB4.Text = "";
			this.txtOChuSoB4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA4
			// 
			this.txtA4.BackColor = System.Drawing.Color.Yellow;
			this.txtA4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA4.Location = new System.Drawing.Point(80, 32);
			this.txtA4.Name = "txtA4";
			this.txtA4.Size = new System.Drawing.Size(56, 22);
			this.txtA4.TabIndex = 30;
			this.txtA4.Text = "";
			this.txtA4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA4
			// 
			this.txtOChuSoA4.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA4.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA4.Name = "txtOChuSoA4";
			this.txtOChuSoA4.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA4.TabIndex = 29;
			this.txtOChuSoA4.Text = "";
			this.txtOChuSoA4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox6
			// 
			this.groupBox6.Controls.Add(this.label39);
			this.groupBox6.Controls.Add(this.label38);
			this.groupBox6.Controls.Add(this.btnPhanTach5);
			this.groupBox6.Controls.Add(this.txtOKetQua5);
			this.groupBox6.Controls.Add(this.label35);
			this.groupBox6.Controls.Add(this.label37);
			this.groupBox6.Controls.Add(this.txtB5);
			this.groupBox6.Controls.Add(this.txtOChuSoB5);
			this.groupBox6.Controls.Add(this.txtA5);
			this.groupBox6.Controls.Add(this.txtOChuSoA5);
			this.groupBox6.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox6.Location = new System.Drawing.Point(8, 368);
			this.groupBox6.Name = "groupBox6";
			this.groupBox6.Size = new System.Drawing.Size(768, 72);
			this.groupBox6.TabIndex = 13;
			this.groupBox6.TabStop = false;
			this.groupBox6.Text = "a^2 - b^2 = (a - b)(a + b)";
			// 
			// label39
			// 
			this.label39.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label39.Location = new System.Drawing.Point(120, 32);
			this.label39.Name = "label39";
			this.label39.Size = new System.Drawing.Size(48, 24);
			this.label39.TabIndex = 40;
			this.label39.Text = " )^2 - (";
			// 
			// label38
			// 
			this.label38.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label38.Location = new System.Drawing.Point(8, 32);
			this.label38.Name = "label38";
			this.label38.Size = new System.Drawing.Size(16, 24);
			this.label38.TabIndex = 39;
			this.label38.Text = " (";
			// 
			// btnPhanTach5
			// 
			this.btnPhanTach5.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach5.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach5.Name = "btnPhanTach5";
			this.btnPhanTach5.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach5.TabIndex = 38;
			this.btnPhanTach5.Text = "Phân tách";
			this.btnPhanTach5.Click += new EventHandler(btnPhanTach5_Click);
			// 
			// txtOKetQua5
			// 
			this.txtOKetQua5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua5.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua5.Name = "txtOKetQua5";
			this.txtOKetQua5.ReadOnly = true;
			this.txtOKetQua5.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua5.TabIndex = 37;
			this.txtOKetQua5.Text = "";
			// 
			// label35
			// 
			this.label35.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label35.Location = new System.Drawing.Point(320, 32);
			this.label35.Name = "label35";
			this.label35.Size = new System.Drawing.Size(32, 24);
			this.label35.TabIndex = 36;
			this.label35.Text = "=";
			// 
			// label37
			// 
			this.label37.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label37.Location = new System.Drawing.Point(280, 32);
			this.label37.Name = "label37";
			this.label37.Size = new System.Drawing.Size(40, 24);
			this.label37.TabIndex = 34;
			this.label37.Text = " )^2";
			// 
			// txtB5
			// 
			this.txtB5.BackColor = System.Drawing.Color.Aqua;
			this.txtB5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB5.Location = new System.Drawing.Point(224, 32);
			this.txtB5.Name = "txtB5";
			this.txtB5.Size = new System.Drawing.Size(56, 22);
			this.txtB5.TabIndex = 32;
			this.txtB5.Text = "";
			this.txtB5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB5
			// 
			this.txtOChuSoB5.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB5.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB5.Name = "txtOChuSoB5";
			this.txtOChuSoB5.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB5.TabIndex = 31;
			this.txtOChuSoB5.Text = "";
			this.txtOChuSoB5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA5
			// 
			this.txtA5.BackColor = System.Drawing.Color.Yellow;
			this.txtA5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA5.Location = new System.Drawing.Point(80, 32);
			this.txtA5.Name = "txtA5";
			this.txtA5.Size = new System.Drawing.Size(40, 22);
			this.txtA5.TabIndex = 30;
			this.txtA5.Text = "";
			this.txtA5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA5
			// 
			this.txtOChuSoA5.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA5.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA5.Name = "txtOChuSoA5";
			this.txtOChuSoA5.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA5.TabIndex = 29;
			this.txtOChuSoA5.Text = "";
			this.txtOChuSoA5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.label20);
			this.groupBox1.Controls.Add(this.label21);
			this.groupBox1.Controls.Add(this.label22);
			this.groupBox1.Controls.Add(this.textBox9);
			this.groupBox1.Controls.Add(this.textBox10);
			this.groupBox1.Controls.Add(this.textBox11);
			this.groupBox1.Controls.Add(this.textBox12);
			this.groupBox1.Controls.Add(this.label19);
			this.groupBox1.Controls.Add(this.label18);
			this.groupBox1.Controls.Add(this.label15);
			this.groupBox1.Controls.Add(this.label16);
			this.groupBox1.Controls.Add(this.label17);
			this.groupBox1.Controls.Add(this.textBox5);
			this.groupBox1.Controls.Add(this.textBox6);
			this.groupBox1.Controls.Add(this.textBox7);
			this.groupBox1.Controls.Add(this.textBox8);
			this.groupBox1.Controls.Add(this.label14);
			this.groupBox1.Controls.Add(this.label13);
			this.groupBox1.Controls.Add(this.label11);
			this.groupBox1.Controls.Add(this.label12);
			this.groupBox1.Controls.Add(this.textBox4);
			this.groupBox1.Controls.Add(this.label9);
			this.groupBox1.Controls.Add(this.label10);
			this.groupBox1.Controls.Add(this.textBox3);
			this.groupBox1.Controls.Add(this.label8);
			this.groupBox1.Controls.Add(this.label7);
			this.groupBox1.Controls.Add(this.textBox2);
			this.groupBox1.Controls.Add(this.label6);
			this.groupBox1.Controls.Add(this.label5);
			this.groupBox1.Controls.Add(this.textBox1);
			this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox1.Location = new System.Drawing.Point(8, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(768, 168);
			this.groupBox1.TabIndex = 8;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Hướng dẫn";
			// 
			// label20
			// 
			this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label20.Location = new System.Drawing.Point(216, 112);
			this.label20.Name = "label20";
			this.label20.Size = new System.Drawing.Size(24, 24);
			this.label20.TabIndex = 37;
			this.label20.Text = "+";
			// 
			// label21
			// 
			this.label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label21.Location = new System.Drawing.Point(352, 112);
			this.label21.Name = "label21";
			this.label21.Size = new System.Drawing.Size(40, 24);
			this.label21.TabIndex = 36;
			this.label21.Text = " )^2";
			// 
			// label22
			// 
			this.label22.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label22.Location = new System.Drawing.Point(80, 112);
			this.label22.Name = "label22";
			this.label22.Size = new System.Drawing.Size(16, 24);
			this.label22.TabIndex = 35;
			this.label22.Text = " (";
			// 
			// textBox9
			// 
			this.textBox9.BackColor = System.Drawing.Color.Aqua;
			this.textBox9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox9.Location = new System.Drawing.Point(296, 112);
			this.textBox9.Name = "textBox9";
			this.textBox9.Size = new System.Drawing.Size(56, 22);
			this.textBox9.TabIndex = 34;
			this.textBox9.Text = "";
			this.textBox9.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox10
			// 
			this.textBox10.BackColor = System.Drawing.Color.PeachPuff;
			this.textBox10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox10.Location = new System.Drawing.Point(240, 112);
			this.textBox10.Name = "textBox10";
			this.textBox10.Size = new System.Drawing.Size(56, 22);
			this.textBox10.TabIndex = 33;
			this.textBox10.Text = "3";
			this.textBox10.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox11
			// 
			this.textBox11.BackColor = System.Drawing.Color.Yellow;
			this.textBox11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox11.Location = new System.Drawing.Point(152, 112);
			this.textBox11.Name = "textBox11";
			this.textBox11.Size = new System.Drawing.Size(56, 22);
			this.textBox11.TabIndex = 32;
			this.textBox11.Text = "a";
			this.textBox11.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox12
			// 
			this.textBox12.BackColor = System.Drawing.Color.LawnGreen;
			this.textBox12.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox12.Location = new System.Drawing.Point(96, 112);
			this.textBox12.Name = "textBox12";
			this.textBox12.Size = new System.Drawing.Size(56, 22);
			this.textBox12.TabIndex = 31;
			this.textBox12.Text = "2";
			this.textBox12.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label19
			// 
			this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label19.Location = new System.Drawing.Point(80, 88);
			this.label19.Name = "label19";
			this.label19.Size = new System.Drawing.Size(312, 24);
			this.label19.TabIndex = 30;
			this.label19.Text = " (2a + 3)^2  thì sẽ là:";
			// 
			// label18
			// 
			this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label18.Location = new System.Drawing.Point(8, 88);
			this.label18.Name = "label18";
			this.label18.Size = new System.Drawing.Size(64, 24);
			this.label18.TabIndex = 29;
			this.label18.Text = "Và với:";
			// 
			// label15
			// 
			this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label15.Location = new System.Drawing.Point(216, 48);
			this.label15.Name = "label15";
			this.label15.Size = new System.Drawing.Size(24, 24);
			this.label15.TabIndex = 28;
			this.label15.Text = "+";
			// 
			// label16
			// 
			this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label16.Location = new System.Drawing.Point(352, 48);
			this.label16.Name = "label16";
			this.label16.Size = new System.Drawing.Size(40, 24);
			this.label16.TabIndex = 27;
			this.label16.Text = " )^2";
			// 
			// label17
			// 
			this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label17.Location = new System.Drawing.Point(80, 48);
			this.label17.Name = "label17";
			this.label17.Size = new System.Drawing.Size(16, 24);
			this.label17.TabIndex = 26;
			this.label17.Text = " (";
			// 
			// textBox5
			// 
			this.textBox5.BackColor = System.Drawing.Color.Aqua;
			this.textBox5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox5.Location = new System.Drawing.Point(296, 48);
			this.textBox5.Name = "textBox5";
			this.textBox5.Size = new System.Drawing.Size(56, 22);
			this.textBox5.TabIndex = 25;
			this.textBox5.Text = "b";
			this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox6
			// 
			this.textBox6.BackColor = System.Drawing.Color.PeachPuff;
			this.textBox6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox6.Location = new System.Drawing.Point(240, 48);
			this.textBox6.Name = "textBox6";
			this.textBox6.Size = new System.Drawing.Size(56, 22);
			this.textBox6.TabIndex = 24;
			this.textBox6.Text = "1";
			this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox7
			// 
			this.textBox7.BackColor = System.Drawing.Color.Yellow;
			this.textBox7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox7.Location = new System.Drawing.Point(152, 48);
			this.textBox7.Name = "textBox7";
			this.textBox7.Size = new System.Drawing.Size(56, 22);
			this.textBox7.TabIndex = 23;
			this.textBox7.Text = "a";
			this.textBox7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox8
			// 
			this.textBox8.BackColor = System.Drawing.Color.LawnGreen;
			this.textBox8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox8.Location = new System.Drawing.Point(96, 48);
			this.textBox8.Name = "textBox8";
			this.textBox8.Size = new System.Drawing.Size(56, 22);
			this.textBox8.TabIndex = 22;
			this.textBox8.Text = "1";
			this.textBox8.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label14
			// 
			this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label14.Location = new System.Drawing.Point(80, 24);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(312, 24);
			this.label14.TabIndex = 21;
			this.label14.Text = " (a + b)^2  chúng ta sẽ điền như sau:";
			// 
			// label13
			// 
			this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label13.Location = new System.Drawing.Point(8, 24);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(64, 24);
			this.label13.TabIndex = 20;
			this.label13.Text = "Ví dụ:";
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(536, 112);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(224, 40);
			this.label11.TabIndex = 19;
			this.label11.Text = "Ô này chỉ dành cho ghi chữ cái \"b\" thường hoặc không ghi gì cả";
			// 
			// label12
			// 
			this.label12.Location = new System.Drawing.Point(504, 112);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(32, 24);
			this.label12.TabIndex = 18;
			this.label12.Text = ">>>";
			// 
			// textBox4
			// 
			this.textBox4.BackColor = System.Drawing.Color.Aqua;
			this.textBox4.Location = new System.Drawing.Point(440, 112);
			this.textBox4.Name = "textBox4";
			this.textBox4.Size = new System.Drawing.Size(56, 22);
			this.textBox4.TabIndex = 17;
			this.textBox4.Text = "";
			this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(536, 88);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(224, 24);
			this.label9.TabIndex = 16;
			this.label9.Text = "Ô này chỉ dành cho ghi số: 1, 2, 3.....";
			// 
			// label10
			// 
			this.label10.Location = new System.Drawing.Point(504, 88);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(32, 24);
			this.label10.TabIndex = 15;
			this.label10.Text = ">>>";
			// 
			// textBox3
			// 
			this.textBox3.BackColor = System.Drawing.Color.PeachPuff;
			this.textBox3.Location = new System.Drawing.Point(440, 88);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(56, 22);
			this.textBox3.TabIndex = 14;
			this.textBox3.Text = "";
			this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(536, 48);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(224, 40);
			this.label8.TabIndex = 13;
			this.label8.Text = "Ô này chỉ dành cho ghi chữ cái \"a\" thường hoặc không ghi gì cả";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(504, 48);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(32, 24);
			this.label7.TabIndex = 12;
			this.label7.Text = ">>>";
			// 
			// textBox2
			// 
			this.textBox2.BackColor = System.Drawing.Color.Yellow;
			this.textBox2.Location = new System.Drawing.Point(440, 48);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(56, 22);
			this.textBox2.TabIndex = 11;
			this.textBox2.Text = "";
			this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(536, 24);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(224, 24);
			this.label6.TabIndex = 10;
			this.label6.Text = "Ô này chỉ dành cho ghi số: 1, 2, 3.....";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(504, 24);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(32, 24);
			this.label5.TabIndex = 9;
			this.label5.Text = ">>>";
			// 
			// textBox1
			// 
			this.textBox1.BackColor = System.Drawing.Color.LawnGreen;
			this.textBox1.Location = new System.Drawing.Point(440, 24);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(56, 22);
			this.textBox1.TabIndex = 8;
			this.textBox1.Text = "";
			this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox7
			// 
			this.groupBox7.Controls.Add(this.label36);
			this.groupBox7.Controls.Add(this.label40);
			this.groupBox7.Controls.Add(this.btnPhanTach6);
			this.groupBox7.Controls.Add(this.txtOKetQua6);
			this.groupBox7.Controls.Add(this.label41);
			this.groupBox7.Controls.Add(this.label42);
			this.groupBox7.Controls.Add(this.txtB6);
			this.groupBox7.Controls.Add(this.txtOChuSoB6);
			this.groupBox7.Controls.Add(this.txtA6);
			this.groupBox7.Controls.Add(this.txtOChuSoA6);
			this.groupBox7.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox7.Location = new System.Drawing.Point(8, 456);
			this.groupBox7.Name = "groupBox7";
			this.groupBox7.Size = new System.Drawing.Size(768, 72);
			this.groupBox7.TabIndex = 14;
			this.groupBox7.TabStop = false;
			this.groupBox7.Text = "a^3 + b^3 = (a + b)(a^2 - ab + b^2) ";
			// 
			// label36
			// 
			this.label36.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label36.Location = new System.Drawing.Point(120, 32);
			this.label36.Name = "label36";
			this.label36.Size = new System.Drawing.Size(48, 24);
			this.label36.TabIndex = 40;
			this.label36.Text = ")^3 + (";
			// 
			// label40
			// 
			this.label40.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label40.Location = new System.Drawing.Point(8, 32);
			this.label40.Name = "label40";
			this.label40.Size = new System.Drawing.Size(16, 24);
			this.label40.TabIndex = 39;
			this.label40.Text = " (";
			// 
			// btnPhanTach6
			// 
			this.btnPhanTach6.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach6.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach6.Name = "btnPhanTach6";
			this.btnPhanTach6.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach6.TabIndex = 38;
			this.btnPhanTach6.Text = "Phân tách";
			this.btnPhanTach6.Click += new EventHandler(btnPhanTach6_Click);
			// 
			// txtOKetQua6
			// 
			this.txtOKetQua6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua6.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua6.Name = "txtOKetQua6";
			this.txtOKetQua6.ReadOnly = true;
			this.txtOKetQua6.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua6.TabIndex = 37;
			this.txtOKetQua6.Text = "";
			// 
			// label41
			// 
			this.label41.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label41.Location = new System.Drawing.Point(320, 32);
			this.label41.Name = "label41";
			this.label41.Size = new System.Drawing.Size(32, 24);
			this.label41.TabIndex = 36;
			this.label41.Text = "=";
			// 
			// label42
			// 
			this.label42.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label42.Location = new System.Drawing.Point(280, 32);
			this.label42.Name = "label42";
			this.label42.Size = new System.Drawing.Size(40, 24);
			this.label42.TabIndex = 34;
			this.label42.Text = " )^3";
			// 
			// txtB6
			// 
			this.txtB6.BackColor = System.Drawing.Color.Aqua;
			this.txtB6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB6.Location = new System.Drawing.Point(224, 32);
			this.txtB6.Name = "txtB6";
			this.txtB6.Size = new System.Drawing.Size(56, 22);
			this.txtB6.TabIndex = 32;
			this.txtB6.Text = "";
			this.txtB6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB6
			// 
			this.txtOChuSoB6.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB6.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB6.Name = "txtOChuSoB6";
			this.txtOChuSoB6.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB6.TabIndex = 31;
			this.txtOChuSoB6.Text = "";
			this.txtOChuSoB6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA6
			// 
			this.txtA6.BackColor = System.Drawing.Color.Yellow;
			this.txtA6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA6.Location = new System.Drawing.Point(80, 32);
			this.txtA6.Name = "txtA6";
			this.txtA6.Size = new System.Drawing.Size(40, 22);
			this.txtA6.TabIndex = 30;
			this.txtA6.Text = "";
			this.txtA6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA6
			// 
			this.txtOChuSoA6.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA6.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA6.Name = "txtOChuSoA6";
			this.txtOChuSoA6.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA6.TabIndex = 29;
			this.txtOChuSoA6.Text = "";
			this.txtOChuSoA6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox9
			// 
			this.groupBox9.Controls.Add(this.label47);
			this.groupBox9.Controls.Add(this.label48);
			this.groupBox9.Controls.Add(this.btnPhanTach7);
			this.groupBox9.Controls.Add(this.txtOKetQua7);
			this.groupBox9.Controls.Add(this.label49);
			this.groupBox9.Controls.Add(this.label50);
			this.groupBox9.Controls.Add(this.txtB7);
			this.groupBox9.Controls.Add(this.txtOChuSoB7);
			this.groupBox9.Controls.Add(this.txtA7);
			this.groupBox9.Controls.Add(this.txtOChuSoA7);
			this.groupBox9.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox9.Location = new System.Drawing.Point(8, 544);
			this.groupBox9.Name = "groupBox9";
			this.groupBox9.Size = new System.Drawing.Size(768, 72);
			this.groupBox9.TabIndex = 15;
			this.groupBox9.TabStop = false;
			this.groupBox9.Text = "a^3 - b^3 = (a - b)(a^2 + ab + b^2) ";
			// 
			// label47
			// 
			this.label47.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label47.Location = new System.Drawing.Point(120, 32);
			this.label47.Name = "label47";
			this.label47.Size = new System.Drawing.Size(48, 24);
			this.label47.TabIndex = 40;
			this.label47.Text = ")^3 - (";
			// 
			// label48
			// 
			this.label48.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label48.Location = new System.Drawing.Point(8, 32);
			this.label48.Name = "label48";
			this.label48.Size = new System.Drawing.Size(16, 24);
			this.label48.TabIndex = 39;
			this.label48.Text = " (";
			// 
			// btnPhanTach7
			// 
			this.btnPhanTach7.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach7.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach7.Name = "btnPhanTach7";
			this.btnPhanTach7.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach7.TabIndex = 38;
			this.btnPhanTach7.Text = "Phân tách";
			this.btnPhanTach7.Click += new EventHandler(btnPhanTach7_Click);
			// 
			// txtOKetQua7
			// 
			this.txtOKetQua7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua7.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua7.Name = "txtOKetQua7";
			this.txtOKetQua7.ReadOnly = true;
			this.txtOKetQua7.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua7.TabIndex = 37;
			this.txtOKetQua7.Text = "";
			// 
			// label49
			// 
			this.label49.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label49.Location = new System.Drawing.Point(320, 32);
			this.label49.Name = "label49";
			this.label49.Size = new System.Drawing.Size(32, 24);
			this.label49.TabIndex = 36;
			this.label49.Text = "=";
			// 
			// label50
			// 
			this.label50.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label50.Location = new System.Drawing.Point(280, 32);
			this.label50.Name = "label50";
			this.label50.Size = new System.Drawing.Size(40, 24);
			this.label50.TabIndex = 34;
			this.label50.Text = " )^3";
			// 
			// txtB7
			// 
			this.txtB7.BackColor = System.Drawing.Color.Aqua;
			this.txtB7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB7.Location = new System.Drawing.Point(224, 32);
			this.txtB7.Name = "txtB7";
			this.txtB7.Size = new System.Drawing.Size(56, 22);
			this.txtB7.TabIndex = 32;
			this.txtB7.Text = "";
			this.txtB7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB7
			// 
			this.txtOChuSoB7.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB7.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB7.Name = "txtOChuSoB7";
			this.txtOChuSoB7.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB7.TabIndex = 31;
			this.txtOChuSoB7.Text = "";
			this.txtOChuSoB7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA7
			// 
			this.txtA7.BackColor = System.Drawing.Color.Yellow;
			this.txtA7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA7.Location = new System.Drawing.Point(80, 32);
			this.txtA7.Name = "txtA7";
			this.txtA7.Size = new System.Drawing.Size(40, 22);
			this.txtA7.TabIndex = 30;
			this.txtA7.Text = "";
			this.txtA7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA7
			// 
			this.txtOChuSoA7.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA7.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA7.Name = "txtOChuSoA7";
			this.txtOChuSoA7.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA7.TabIndex = 29;
			this.txtOChuSoA7.Text = "";
			this.txtOChuSoA7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.btnPhanTach);
			this.groupBox2.Controls.Add(this.txtOKetQua1);
			this.groupBox2.Controls.Add(this.label4);
			this.groupBox2.Controls.Add(this.label1);
			this.groupBox2.Controls.Add(this.label2);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Controls.Add(this.txtB1);
			this.groupBox2.Controls.Add(this.txtOChuSoB1);
			this.groupBox2.Controls.Add(this.txtA1);
			this.groupBox2.Controls.Add(this.txtOChuSoA1);
			this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox2.Location = new System.Drawing.Point(8, 192);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(768, 72);
			this.groupBox2.TabIndex = 9;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "(a + b)^2 = a^2 + 2ab + b^2";
			// 
			// btnPhanTach
			// 
			this.btnPhanTach.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach.Name = "btnPhanTach";
			this.btnPhanTach.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach.TabIndex = 38;
			this.btnPhanTach.Text = "Phân tách";
			this.btnPhanTach.Click += new EventHandler(btnPhanTach_Click);
			// 
			// txtOKetQua1
			// 
			this.txtOKetQua1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua1.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua1.Name = "txtOKetQua1";
			this.txtOKetQua1.ReadOnly = true;
			this.txtOKetQua1.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua1.TabIndex = 37;
			this.txtOKetQua1.Text = "";
			// 
			// label4
			// 
			this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label4.Location = new System.Drawing.Point(320, 32);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(32, 24);
			this.label4.TabIndex = 36;
			this.label4.Text = "=";
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label1.Location = new System.Drawing.Point(144, 32);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(24, 24);
			this.label1.TabIndex = 35;
			this.label1.Text = "+";
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label2.Location = new System.Drawing.Point(280, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(40, 24);
			this.label2.TabIndex = 34;
			this.label2.Text = " )^2";
			// 
			// label3
			// 
			this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label3.Location = new System.Drawing.Point(8, 32);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(16, 24);
			this.label3.TabIndex = 33;
			this.label3.Text = " (";
			// 
			// txtB1
			// 
			this.txtB1.BackColor = System.Drawing.Color.Aqua;
			this.txtB1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB1.Location = new System.Drawing.Point(224, 32);
			this.txtB1.Name = "txtB1";
			this.txtB1.Size = new System.Drawing.Size(56, 22);
			this.txtB1.TabIndex = 32;
			this.txtB1.Text = "";
			this.txtB1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB1
			// 
			this.txtOChuSoB1.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB1.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB1.Name = "txtOChuSoB1";
			this.txtOChuSoB1.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB1.TabIndex = 31;
			this.txtOChuSoB1.Text = "";
			this.txtOChuSoB1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA1
			// 
			this.txtA1.BackColor = System.Drawing.Color.Yellow;
			this.txtA1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA1.Location = new System.Drawing.Point(80, 32);
			this.txtA1.Name = "txtA1";
			this.txtA1.Size = new System.Drawing.Size(56, 22);
			this.txtA1.TabIndex = 30;
			this.txtA1.Text = "";
			this.txtA1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA1
			// 
			this.txtOChuSoA1.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA1.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA1.Name = "txtOChuSoA1";
			this.txtOChuSoA1.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA1.TabIndex = 29;
			this.txtOChuSoA1.Text = "";
			this.txtOChuSoA1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox4
			// 
			this.groupBox4.Controls.Add(this.btnPhanTach3);
			this.groupBox4.Controls.Add(this.txtOKetQua3);
			this.groupBox4.Controls.Add(this.label27);
			this.groupBox4.Controls.Add(this.label28);
			this.groupBox4.Controls.Add(this.label29);
			this.groupBox4.Controls.Add(this.label30);
			this.groupBox4.Controls.Add(this.txtB3);
			this.groupBox4.Controls.Add(this.txtOChuSoB3);
			this.groupBox4.Controls.Add(this.txtA3);
			this.groupBox4.Controls.Add(this.txtOChuSoA3);
			this.groupBox4.Controls.Add(this.groupBox8);
			this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox4.Location = new System.Drawing.Point(8, 632);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.Size = new System.Drawing.Size(768, 72);
			this.groupBox4.TabIndex = 11;
			this.groupBox4.TabStop = false;
			this.groupBox4.Text = "(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3";
			// 
			// btnPhanTach3
			// 
			this.btnPhanTach3.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach3.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach3.Name = "btnPhanTach3";
			this.btnPhanTach3.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach3.TabIndex = 38;
			this.btnPhanTach3.Text = "Phân tách";
			this.btnPhanTach3.Click += new EventHandler(btnPhanTach3_Click);
			// 
			// txtOKetQua3
			// 
			this.txtOKetQua3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua3.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua3.Name = "txtOKetQua3";
			this.txtOKetQua3.ReadOnly = true;
			this.txtOKetQua3.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua3.TabIndex = 37;
			this.txtOKetQua3.Text = "";
			// 
			// label27
			// 
			this.label27.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label27.Location = new System.Drawing.Point(320, 32);
			this.label27.Name = "label27";
			this.label27.Size = new System.Drawing.Size(32, 24);
			this.label27.TabIndex = 36;
			this.label27.Text = "=";
			// 
			// label28
			// 
			this.label28.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label28.Location = new System.Drawing.Point(144, 32);
			this.label28.Name = "label28";
			this.label28.Size = new System.Drawing.Size(24, 24);
			this.label28.TabIndex = 35;
			this.label28.Text = "+";
			// 
			// label29
			// 
			this.label29.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label29.Location = new System.Drawing.Point(280, 32);
			this.label29.Name = "label29";
			this.label29.Size = new System.Drawing.Size(40, 24);
			this.label29.TabIndex = 34;
			this.label29.Text = " )^3";
			// 
			// label30
			// 
			this.label30.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label30.Location = new System.Drawing.Point(8, 32);
			this.label30.Name = "label30";
			this.label30.Size = new System.Drawing.Size(16, 24);
			this.label30.TabIndex = 33;
			this.label30.Text = " (";
			// 
			// txtB3
			// 
			this.txtB3.BackColor = System.Drawing.Color.Aqua;
			this.txtB3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB3.Location = new System.Drawing.Point(224, 32);
			this.txtB3.Name = "txtB3";
			this.txtB3.Size = new System.Drawing.Size(56, 22);
			this.txtB3.TabIndex = 32;
			this.txtB3.Text = "";
			this.txtB3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB3
			// 
			this.txtOChuSoB3.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB3.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB3.Name = "txtOChuSoB3";
			this.txtOChuSoB3.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB3.TabIndex = 31;
			this.txtOChuSoB3.Text = "";
			this.txtOChuSoB3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA3
			// 
			this.txtA3.BackColor = System.Drawing.Color.Yellow;
			this.txtA3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA3.Location = new System.Drawing.Point(80, 32);
			this.txtA3.Name = "txtA3";
			this.txtA3.Size = new System.Drawing.Size(56, 22);
			this.txtA3.TabIndex = 30;
			this.txtA3.Text = "";
			this.txtA3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA3
			// 
			this.txtOChuSoA3.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA3.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA3.Name = "txtOChuSoA3";
			this.txtOChuSoA3.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA3.TabIndex = 29;
			this.txtOChuSoA3.Text = "";
			this.txtOChuSoA3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox8
			// 
			this.groupBox8.Controls.Add(this.label43);
			this.groupBox8.Controls.Add(this.label44);
			this.groupBox8.Controls.Add(this.button2);
			this.groupBox8.Controls.Add(this.textBox18);
			this.groupBox8.Controls.Add(this.label45);
			this.groupBox8.Controls.Add(this.label46);
			this.groupBox8.Controls.Add(this.textBox19);
			this.groupBox8.Controls.Add(this.textBox20);
			this.groupBox8.Controls.Add(this.textBox21);
			this.groupBox8.Controls.Add(this.textBox22);
			this.groupBox8.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox8.Location = new System.Drawing.Point(0, -72);
			this.groupBox8.Name = "groupBox8";
			this.groupBox8.Size = new System.Drawing.Size(768, 72);
			this.groupBox8.TabIndex = 7;
			this.groupBox8.TabStop = false;
			this.groupBox8.Text = "a^3 + b^3 = (a + b)(a^2 - ab + b^2) ";
			// 
			// label43
			// 
			this.label43.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label43.Location = new System.Drawing.Point(120, 32);
			this.label43.Name = "label43";
			this.label43.Size = new System.Drawing.Size(48, 24);
			this.label43.TabIndex = 40;
			this.label43.Text = ")^3 + (";
			// 
			// label44
			// 
			this.label44.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label44.Location = new System.Drawing.Point(8, 32);
			this.label44.Name = "label44";
			this.label44.Size = new System.Drawing.Size(16, 24);
			this.label44.TabIndex = 39;
			this.label44.Text = " (";
			// 
			// button2
			// 
			this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.button2.Location = new System.Drawing.Point(632, 32);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(120, 24);
			this.button2.TabIndex = 38;
			this.button2.Text = "Phân tách";
			// 
			// textBox18
			// 
			this.textBox18.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox18.Location = new System.Drawing.Point(352, 32);
			this.textBox18.Name = "textBox18";
			this.textBox18.ReadOnly = true;
			this.textBox18.Size = new System.Drawing.Size(264, 22);
			this.textBox18.TabIndex = 37;
			this.textBox18.Text = "";
			// 
			// label45
			// 
			this.label45.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label45.Location = new System.Drawing.Point(320, 32);
			this.label45.Name = "label45";
			this.label45.Size = new System.Drawing.Size(32, 24);
			this.label45.TabIndex = 36;
			this.label45.Text = "=";
			// 
			// label46
			// 
			this.label46.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label46.Location = new System.Drawing.Point(280, 32);
			this.label46.Name = "label46";
			this.label46.Size = new System.Drawing.Size(40, 24);
			this.label46.TabIndex = 34;
			this.label46.Text = " )^3";
			// 
			// textBox19
			// 
			this.textBox19.BackColor = System.Drawing.Color.Aqua;
			this.textBox19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox19.Location = new System.Drawing.Point(224, 32);
			this.textBox19.Name = "textBox19";
			this.textBox19.Size = new System.Drawing.Size(56, 22);
			this.textBox19.TabIndex = 32;
			this.textBox19.Text = "";
			this.textBox19.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox20
			// 
			this.textBox20.BackColor = System.Drawing.Color.PeachPuff;
			this.textBox20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox20.Location = new System.Drawing.Point(168, 32);
			this.textBox20.Name = "textBox20";
			this.textBox20.Size = new System.Drawing.Size(56, 22);
			this.textBox20.TabIndex = 31;
			this.textBox20.Text = "";
			this.textBox20.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox21
			// 
			this.textBox21.BackColor = System.Drawing.Color.Yellow;
			this.textBox21.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox21.Location = new System.Drawing.Point(80, 32);
			this.textBox21.Name = "textBox21";
			this.textBox21.Size = new System.Drawing.Size(40, 22);
			this.textBox21.TabIndex = 30;
			this.textBox21.Text = "";
			this.textBox21.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// textBox22
			// 
			this.textBox22.BackColor = System.Drawing.Color.LawnGreen;
			this.textBox22.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.textBox22.Location = new System.Drawing.Point(24, 32);
			this.textBox22.Name = "textBox22";
			this.textBox22.Size = new System.Drawing.Size(56, 22);
			this.textBox22.TabIndex = 29;
			this.textBox22.Text = "";
			this.textBox22.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.btnPhanTach2);
			this.groupBox3.Controls.Add(this.txtOKetQua2);
			this.groupBox3.Controls.Add(this.label23);
			this.groupBox3.Controls.Add(this.label24);
			this.groupBox3.Controls.Add(this.label25);
			this.groupBox3.Controls.Add(this.label26);
			this.groupBox3.Controls.Add(this.txtB2);
			this.groupBox3.Controls.Add(this.txtOChuSoB2);
			this.groupBox3.Controls.Add(this.txtA2);
			this.groupBox3.Controls.Add(this.txtOChuSoA2);
			this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.groupBox3.Location = new System.Drawing.Point(8, 280);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(768, 72);
			this.groupBox3.TabIndex = 10;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "(a - b)^2 = a^2 - 2ab + b^2";
			// 
			// btnPhanTach2
			// 
			this.btnPhanTach2.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnPhanTach2.Location = new System.Drawing.Point(632, 32);
			this.btnPhanTach2.Name = "btnPhanTach2";
			this.btnPhanTach2.Size = new System.Drawing.Size(120, 24);
			this.btnPhanTach2.TabIndex = 38;
			this.btnPhanTach2.Text = "Phân tách";
			this.btnPhanTach2.Click += new EventHandler(btnPhanTach2_Click);
			// 
			// txtOKetQua2
			// 
			this.txtOKetQua2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOKetQua2.Location = new System.Drawing.Point(352, 32);
			this.txtOKetQua2.Name = "txtOKetQua2";
			this.txtOKetQua2.ReadOnly = true;
			this.txtOKetQua2.Size = new System.Drawing.Size(264, 22);
			this.txtOKetQua2.TabIndex = 37;
			this.txtOKetQua2.Text = "";
			// 
			// label23
			// 
			this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label23.Location = new System.Drawing.Point(320, 32);
			this.label23.Name = "label23";
			this.label23.Size = new System.Drawing.Size(32, 24);
			this.label23.TabIndex = 36;
			this.label23.Text = "=";
			// 
			// label24
			// 
			this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label24.Location = new System.Drawing.Point(144, 32);
			this.label24.Name = "label24";
			this.label24.Size = new System.Drawing.Size(24, 24);
			this.label24.TabIndex = 35;
			this.label24.Text = "-";
			// 
			// label25
			// 
			this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label25.Location = new System.Drawing.Point(280, 32);
			this.label25.Name = "label25";
			this.label25.Size = new System.Drawing.Size(40, 24);
			this.label25.TabIndex = 34;
			this.label25.Text = " )^2";
			// 
			// label26
			// 
			this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label26.Location = new System.Drawing.Point(8, 32);
			this.label26.Name = "label26";
			this.label26.Size = new System.Drawing.Size(16, 24);
			this.label26.TabIndex = 33;
			this.label26.Text = " (";
			// 
			// txtB2
			// 
			this.txtB2.BackColor = System.Drawing.Color.Aqua;
			this.txtB2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtB2.Location = new System.Drawing.Point(224, 32);
			this.txtB2.Name = "txtB2";
			this.txtB2.Size = new System.Drawing.Size(56, 22);
			this.txtB2.TabIndex = 32;
			this.txtB2.Text = "";
			this.txtB2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoB2
			// 
			this.txtOChuSoB2.BackColor = System.Drawing.Color.PeachPuff;
			this.txtOChuSoB2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoB2.Location = new System.Drawing.Point(168, 32);
			this.txtOChuSoB2.Name = "txtOChuSoB2";
			this.txtOChuSoB2.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoB2.TabIndex = 31;
			this.txtOChuSoB2.Text = "";
			this.txtOChuSoB2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtA2
			// 
			this.txtA2.BackColor = System.Drawing.Color.Yellow;
			this.txtA2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtA2.Location = new System.Drawing.Point(80, 32);
			this.txtA2.Name = "txtA2";
			this.txtA2.Size = new System.Drawing.Size(56, 22);
			this.txtA2.TabIndex = 30;
			this.txtA2.Text = "";
			this.txtA2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// txtOChuSoA2
			// 
			this.txtOChuSoA2.BackColor = System.Drawing.Color.LawnGreen;
			this.txtOChuSoA2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.txtOChuSoA2.Location = new System.Drawing.Point(24, 32);
			this.txtOChuSoA2.Name = "txtOChuSoA2";
			this.txtOChuSoA2.Size = new System.Drawing.Size(56, 22);
			this.txtOChuSoA2.TabIndex = 29;
			this.txtOChuSoA2.Text = "";
			this.txtOChuSoA2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// PhanTach7HangDangThucDangNho
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.AutoScroll = true;
			this.ClientSize = new System.Drawing.Size(787, 578);
			this.Controls.Add(this.groupBox5);
			this.Controls.Add(this.groupBox6);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.groupBox7);
			this.Controls.Add(this.groupBox9);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox4);
			this.Controls.Add(this.groupBox3);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "PhanTach7HangDangThucDangNho";
			this.Text = "Phan Tach 7 Hang Dang Thuc Dang Nho";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.groupBox5.ResumeLayout(false);
			this.groupBox6.ResumeLayout(false);
			this.groupBox1.ResumeLayout(false);
			this.groupBox7.ResumeLayout(false);
			this.groupBox9.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.groupBox4.ResumeLayout(false);
			this.groupBox8.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion


		private void btnPhanTach_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA1 = Convert.ToDouble(txtOChuSoA1.Text);
				double dblGiaTriB1 = Convert.ToDouble(txtOChuSoB1.Text);
				double dblGiaTriA1Mu2 = dblGiaTriA1*dblGiaTriA1;
				double dblGiaTriB1Mu2 = dblGiaTriB1*dblGiaTriB1;
				double dbl2LanGiaTriA1B1 = 2*dblGiaTriA1*dblGiaTriB1;


				if (txtOChuSoA1.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA1.Select();
				}

				else if (txtOChuSoB1.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB1.Select();
				}

				else if (txtA1.Text == "a" && txtB1.Text == "b")
				{
					txtOKetQua1.Text = "(" + dblGiaTriA1Mu2.ToString() + "a^2 + " + dbl2LanGiaTriA1B1.ToString() + "ab + " + dblGiaTriB1Mu2.ToString() + "b^2)";
				}

				else if (txtA1.Text == "a" && txtB1.Text == "")
				{
					txtOKetQua1.Text = "(" + dblGiaTriA1Mu2.ToString() + "a^2 + " + dbl2LanGiaTriA1B1.ToString() + "a + " + dblGiaTriB1Mu2.ToString() + ")";
				}

				else if (txtA1.Text == "" && txtB1.Text == "b")
				{
					txtOKetQua1.Text = "(" + dblGiaTriA1Mu2.ToString() + " + " + dbl2LanGiaTriA1B1.ToString() + "b + " + dblGiaTriB1Mu2.ToString() + "b^2)";
				}

				else if (txtA1.Text == "" && txtB1.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA1.Text != "a" || txtB1.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}



		private void btnPhanTach2_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA2 = Convert.ToDouble(txtOChuSoA2.Text);
				double dblGiaTriB2 = Convert.ToDouble(txtOChuSoB2.Text);
				double dblGiaTriA2Mu2 = dblGiaTriA2*dblGiaTriA2;
				double dblGiaTriB2Mu2 = dblGiaTriB2*dblGiaTriB2;
				double dbl2LanGiaTriA2B2 = 2*dblGiaTriA2*dblGiaTriB2;


				if (txtOChuSoA2.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA2.Select();
				}

				else if (txtOChuSoB2.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB2.Select();
				}

				else if (txtA2.Text == "a" && txtB2.Text == "b")
				{
					txtOKetQua2.Text = "(" + dblGiaTriA2Mu2.ToString() + "a^2 - " + dbl2LanGiaTriA2B2.ToString() + "ab + " + dblGiaTriB2Mu2.ToString() + "b^2)";
				}

				else if (txtA2.Text == "a" && txtB2.Text == "")
				{
					txtOKetQua2.Text = "(" + dblGiaTriA2Mu2.ToString() + "a^2 - " + dbl2LanGiaTriA2B2.ToString() + "a + " + dblGiaTriB2Mu2.ToString() + ")";
				}

				else if (txtA2.Text == "" && txtB2.Text == "b")
				{
					txtOKetQua2.Text = "(" + dblGiaTriA2Mu2.ToString() + " - " + dbl2LanGiaTriA2B2.ToString() + "b + " + dblGiaTriB2Mu2.ToString() + "b^2)";
				}

				else if (txtA2.Text == "" && txtB2.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA2.Text != "a" || txtB2.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}


		private void btnPhanTach3_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA3 = Convert.ToDouble(txtOChuSoA3.Text);
				double dblGiaTriB3 = Convert.ToDouble(txtOChuSoB3.Text);
				double dblGiaTriA3Mu3 = dblGiaTriA3*dblGiaTriA3*dblGiaTriA3;
				double dblGiaTriB3Mu3 = dblGiaTriB3*dblGiaTriB3*dblGiaTriB3;
				double dbl3LanGiaTriA3Mu2B3 = 3*dblGiaTriA3*dblGiaTriA3*dblGiaTriB3;
				double dbl3LanGiaTriA3B3Mu2 = 3*dblGiaTriA3*dblGiaTriB3*dblGiaTriB3;


				if (txtOChuSoA3.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA3.Select();
				}

				else if (txtOChuSoB3.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB3.Select();
				}

				else if (txtA3.Text == "a" && txtB3.Text == "b")
				{
					txtOKetQua3.Text = "(" + dblGiaTriA3Mu3.ToString() + "a^3 + " + dbl3LanGiaTriA3Mu2B3.ToString() + "a^2b + " + dbl3LanGiaTriA3B3Mu2.ToString() + "ab^2 + " + dblGiaTriB3Mu3.ToString() + "b^3)";
				}

				else if (txtA3.Text == "a" && txtB3.Text == "")
				{
					txtOKetQua3.Text = "(" + dblGiaTriA3Mu3.ToString() + "a^3 + " + dbl3LanGiaTriA3Mu2B3.ToString() + "a^2 + " + dbl3LanGiaTriA3B3Mu2.ToString() + "a + " + dblGiaTriB3Mu3.ToString() + ")";
				}

				else if (txtA3.Text == "" && txtB3.Text == "b")
				{
					txtOKetQua3.Text = "(" + dblGiaTriA3Mu3.ToString() + " + " + dbl3LanGiaTriA3Mu2B3.ToString() + "b + " + dbl3LanGiaTriA3B3Mu2.ToString() + "b^2 + " + dblGiaTriB3Mu3.ToString() + "b^3)";
				}

				else if (txtA3.Text == "" && txtB3.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA3.Text != "a" || txtB3.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}



		private void btnPhanTach4_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA4 = Convert.ToDouble(txtOChuSoA4.Text);
				double dblGiaTriB4 = Convert.ToDouble(txtOChuSoB4.Text);
				double dblGiaTriA4Mu3 = dblGiaTriA4*dblGiaTriA4*dblGiaTriA4;
				double dblGiaTriB4Mu3 = dblGiaTriB4*dblGiaTriB4*dblGiaTriB4;
				double dbl3LanGiaTriA4Mu2B4 = 3*dblGiaTriA4*dblGiaTriA4*dblGiaTriB4;
				double dbl3LanGiaTriA4B4Mu2 = 3*dblGiaTriA4*dblGiaTriB4*dblGiaTriB4;


				if (txtOChuSoA4.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA4.Select();
				}

				else if (txtOChuSoB4.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB4.Select();
				}

				else if (txtA4.Text == "a" && txtB4.Text == "b")
				{
					txtOKetQua4.Text = "(" + dblGiaTriA4Mu3.ToString() + "a^3 - " + dbl3LanGiaTriA4Mu2B4.ToString() + "a^2b + " + dbl3LanGiaTriA4B4Mu2.ToString() + "ab^2 - " + dblGiaTriB4Mu3.ToString() + "b^3)";
				}

				else if (txtA4.Text == "a" && txtB4.Text == "")
				{
					txtOKetQua4.Text = "(" + dblGiaTriA4Mu3.ToString() + "a^3 - " + dbl3LanGiaTriA4Mu2B4.ToString() + "a^2 + " + dbl3LanGiaTriA4B4Mu2.ToString() + "a - " + dblGiaTriB4Mu3.ToString() + ")";
				}

				else if (txtA4.Text == "" && txtB4.Text == "b")
				{
					txtOKetQua4.Text = "(" + dblGiaTriA4Mu3.ToString() + " - " + dbl3LanGiaTriA4Mu2B4.ToString() + "b + " + dbl3LanGiaTriA4B4Mu2.ToString() + "b^2 - " + dblGiaTriB4Mu3.ToString() + "b^3)";
				}

				else if (txtA4.Text == "" && txtB4.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA4.Text != "a" || txtB4.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}



		private void btnPhanTach5_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA5 = Convert.ToDouble(txtOChuSoA5.Text);
				double dblGiaTriB5 = Convert.ToDouble(txtOChuSoB5.Text);
				
				if (txtOChuSoA5.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA5.Select();
				}

				else if (txtOChuSoB5.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB5.Select();
				}

				else if (txtA5.Text == "a" && txtB5.Text == "b")
				{
					txtOKetQua5.Text = "(" + dblGiaTriA5.ToString() + "a - " + dblGiaTriB5.ToString() + "b)(" + dblGiaTriA5.ToString() + "a + " + dblGiaTriB5.ToString() + "b)";
				}

				else if (txtA5.Text == "a" && txtB5.Text == "")
				{
					txtOKetQua5.Text = "(" + dblGiaTriA5.ToString() + "a - " + dblGiaTriB5.ToString() + ")(" + dblGiaTriA5.ToString() + "a + " + dblGiaTriB5.ToString() + ")";
				}

				else if (txtA5.Text == "" && txtB5.Text == "b")
				{
					txtOKetQua5.Text = "(" + dblGiaTriA5.ToString() + " - " + dblGiaTriB5.ToString() + "b)(" + dblGiaTriA5.ToString() + " + " + dblGiaTriB5.ToString() + "b)";
				}

				else if (txtA5.Text == "" && txtB5.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA5.Text != "a" || txtB5.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}



		private void btnPhanTach6_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA6 = Convert.ToDouble(txtOChuSoA6.Text);
				double dblGiaTriB6 = Convert.ToDouble(txtOChuSoB6.Text);
				double dblGiaTriA6Mu2 = dblGiaTriA6*dblGiaTriA6;
				double dblGiaTriB6Mu2 = dblGiaTriB6*dblGiaTriB6;
				double dblTichCuaA6B6 = dblGiaTriA6*dblGiaTriB6;


				if (txtOChuSoA6.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA6.Select();
				}

				else if (txtOChuSoB6.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB6.Select();
				}

				else if (txtA6.Text == "a" && txtB6.Text == "b")
				{
					txtOKetQua6.Text = "(" + dblGiaTriA6.ToString() + "a + " + dblGiaTriB6.ToString() + "b)(" + dblGiaTriA6Mu2.ToString() + "a^2 - " + dblTichCuaA6B6.ToString() + "ab + " + dblGiaTriB6Mu2.ToString() + "b^2)";
				}

				else if (txtA6.Text == "a" && txtB6.Text == "")
				{
					txtOKetQua6.Text = "(" + dblGiaTriA6.ToString() + "a + " + dblGiaTriB6.ToString() + ")(" + dblGiaTriA6Mu2.ToString() + "a^2 - " + dblTichCuaA6B6.ToString() + "a + " + dblGiaTriB6Mu2.ToString() + ")";
				}

				else if (txtA6.Text == "" && txtB6.Text == "b")
				{
					txtOKetQua6.Text = "(" + dblGiaTriA6.ToString() + " + " + dblGiaTriB6.ToString() + "b)(" + dblGiaTriA6Mu2.ToString() + " - " + dblTichCuaA6B6.ToString() + "b + " + dblGiaTriB6Mu2.ToString() + "b^2)";
				}

				else if (txtA6.Text == "" && txtB6.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA6.Text != "a" || txtB6.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}



		private void btnPhanTach7_Click(object sender, System.EventArgs e)
		{
			try
			{
				double dblGiaTriA7 = Convert.ToDouble(txtOChuSoA7.Text);
				double dblGiaTriB7 = Convert.ToDouble(txtOChuSoB7.Text);
				double dblGiaTriA7Mu2 = dblGiaTriA7*dblGiaTriA7;
				double dblGiaTriB7Mu2 = dblGiaTriB7*dblGiaTriB7;
				double dblTichCuaA7B7 = dblGiaTriA7*dblGiaTriB7;


				if (txtOChuSoA7.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoA7.Select();
				}

				else if (txtOChuSoB7.Text == "")
				{
					MessageBox.Show("Bạn hãy điền vào ô có dấu nhắc 1 giá trị!");
					txtOChuSoB7.Select();
				}

				else if (txtA7.Text == "a" && txtB7.Text == "b")
				{
					txtOKetQua7.Text = "(" + dblGiaTriA7.ToString() + "a - " + dblGiaTriB7.ToString() + "b)(" + dblGiaTriA7Mu2.ToString() + "a^2 + " + dblTichCuaA7B7.ToString() + "ab + " + dblGiaTriB7Mu2.ToString() + "b^2)";
				}

				else if (txtA7.Text == "a" && txtB7.Text == "")
				{
					txtOKetQua7.Text = "(" + dblGiaTriA7.ToString() + "a - " + dblGiaTriB7.ToString() + ")(" + dblGiaTriA7Mu2.ToString() + "a^2 + " + dblTichCuaA7B7.ToString() + "a + " + dblGiaTriB7Mu2.ToString() + ")";
				}

				else if (txtA7.Text == "" && txtB7.Text == "b")
				{
					txtOKetQua7.Text = "(" + dblGiaTriA7.ToString() + " - " + dblGiaTriB7.ToString() + "b)(" + dblGiaTriA7Mu2.ToString() + " + " + dblTichCuaA7B7.ToString() + "b + " + dblGiaTriB7Mu2.ToString() + "b^2)";
				}

				else if (txtA7.Text == "" && txtB7.Text == "")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn! Bạn đừng để trống cả 2 ô ghi chữ 'a' và 'b'");
				}

				else if (txtA7.Text != "a" || txtB7.Text != "b")
				{
					MessageBox.Show("Xin bạn vui lòng đọc lại hướng dẫn!");
				}
			}

			catch (Exception ex)
			{
				MessageBox.Show("Đã có lỗi xảy ra! Bạn hãy kiểm tra lại xem mình đã thao tác đúng chưa nhé!", ex.Source);
			}
		}
	}
}
